#pragma once
namespace Lumin {
namespace Win32 {
class CConnectThread : protected CThread
{
public:
	CConnectThread(const char* address,unsigned short port,DWORD dwContext,CServer* pServer);
	~CConnectThread(void);
	using CThread::Start;
	using CThread::Terminate;
private:
	virtual int Run();
private:
	string m_address;
	unsigned short m_port;
	DWORD m_dwContext;
	CServer* m_pServer;
};
}
}